package com.mxx.common.netty.ws;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.websocketx.WebSocketFrame;

/**
 * @Auther: Mr. Zeng
 * @Date: 2020/8/10 10:27
 * @Description: 暂无描述
 */
public interface WebsocketFactory {

    NettyWebsocketRequest createRequest(ChannelHandlerContext context, WebSocketFrame webSocketFrame);

    Class<? extends NettyWebsocketMessage> message();

}
